gtk-launch: Add help string for --version
authorMatthias Clasen <mclasen@redhat.com>
Sun, 11 Sep 2016 14:51:19 +0000 (10:51 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 11 Sep 2016 14:51:19 +0000 (10:51 -0400)
This was missing for no good reason.

gtk/gtk-launch.c

index 4186a45ea989527df14e47699ab9c19ae38c1de5..ab0050047a02eeec480e118b18b453a3bc4b6862 100644 (file)
@@ -37,7 +37,7 @@ static gboolean show_version;
 static gchar **args = NULL;
 
 static GOptionEntry entries[] = {
-  { "version", 0, 0, G_OPTION_ARG_NONE, &show_version, NULL, NULL },
+  { "version", 0, 0, G_OPTION_ARG_NONE, &show_version, N_("Show program version"), NULL },
   { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &args, NULL, NULL },
   { NULL}
 };